<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="mainForm" action="/${orgi}/dm/cube/cubeddo.html" data-toggle="form" method="post">
		<div class="artMain">
			<div class="mainCenter"> 
				<fieldset class="control-group">
					<label for="name" class="control-label">名称</label>
					<div class="controls">
						<input type="text" name="name" id="prependedInput" maxlength="200" value="" required="" class="span3">
						<span class="help-inline"><i class="inputip">*</i></span>
					</div>
				</fieldset>
				<fieldset class="control-group">
					<label for="name" class="control-label">目录</label>
					<div class="controls">
					<i class="input-label">${category.name!''}</i>
					<input type="hidden" name="typeid" value="${category.id!''}"/>				
					</div>
				</fieldset>
				<fieldset class="control-group">
					<label for="parameters" class="control-label">数据源</label>
					<div class="controls">
						<select class="span3 required" required="" name="db">
							<option value="">请选择数据源</option>
							<#if databaseList??>
							<#list databaseList as db>
							<option value="${db.id!''}"><#if db.connctiontype??&&db.connctiontype=='jdbc'>(jdbc)_${db.name!''}<#elseif db.connctiontype??&&db.connctiontype=='jndi'>(jndi)_${db.jndiname!''}</#if></option>
							</#list>
							</#if>
						</select>
						<span class="help-inline"><i class="inputip">*</i></span>
					</div>
				</fieldset>
				<fieldset class="control-group">
					<label for="parameters" class="control-label">类型</label>
					<div class="controls">
						<select class="span3" required="" name="dstype">
							<option value="">请选择模型类型</option>
							<option value="table">数据表</option>
							<option value="cube">立方体</option>
							<option value="r3">R3</option>
						</select>
						<span class="help-inline"><i class="inputip">*</i></span>
					</div>
				</fieldset>
				<fieldset class="control-group">
					<label for="parameters" class="control-label">虚拟立方体</label>
					<div class="controls">
						<label class="radio inline"><input type="radio" value="1" name="modeltype">是</label>
						<label class="radio inline"><input type="radio" checked="checked" value="0" name="modeltype">否</label>
					</div>
				</fieldset>
			</div>
		</div>
		<div class="bottomBg">
			<div class="btnWrap">
				<input type="submit" class="subButtonStyle" value="确认"/>
				<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
			</div>
		</div>
	</form>
	</div>
</div>
